.foxui-images-manager__body {
    display: flex;
    min-height: 524px;
    border-bottom: $--border-base;

    .left-part {
        width: 200px;
        border-right: $--border-base;
        box-sizing: border-box;
    }

    .add-group {
        padding: 16px 16px 8px;

        button {
            color: $--color-primary;
        }
    }

    .group-list {
        max-height: 440px;
        overflow: auto;

        .group-item {
            padding: 0 $--padding-base;
            display: flex;
            height: 44px;
            justify-content: space-between;
            align-items: center;
            transition: $--background-color-transition-base;
            position: relative;

            &:not(.is-active) {
                cursor: pointer;
            }

            &:hover {
                background-color: $--color-primary-light-9;
            }

            &.is-active {
                background-color: $--color-primary-light-8;
                color: $--color-primary;
                border-right: $--color-primary solid 2px;
            }

            .count {
                opacity: 1;
                transition: $--fade-transition;
            }

            .modify-btn {
                color: $--color-primary;
                position: absolute;
                right: $--padding-base;
                opacity: 0;
                transition: $--fade-transition;

                b {
                    font-weight: normal;
                    position: relative;
                    top: -2px;
                    margin: 0 $--padding-extra-small;
                }

                .modify {
                    padding: $--padding-base 0;
                    cursor: pointer;
                }

                .delete {
                    padding: $--padding-base 0;
                    cursor: pointer;
                }
            }

            &.custom:hover {
                .count {
                    opacity: 0;
                }

                .modify-btn {
                    opacity: 1;
                }
            }

            &.system {
                .title::after {
                    content: '系统';
                    color: $--color-primary;
                    border: $--border-width-base $--border-style-base $--color-primary;
                    margin-left: $--padding-extra-small;
                    font-size: $--font-size-extra-small;
                    padding: $--padding-extra-small/4 $--padding-extra-small/2;
                    border-radius: $--border-radius-small;
                }
            }
        }
    }

    .right-part {
        flex: 1;
        padding-bottom: $--padding-base;

        .image-header {
            padding: $--padding-medium;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .add-image-btn {
                button {
                    margin-right: $--padding-small;
                }

                .info {
                    color: $--color-text-secondary;
                }
            }

            .search-input {
                display: flex;
                align-items: center;

                .foxui-picker {
                    width: 160px;
                }

                .horizontal-line {
                    width: $--padding-small;
                    height: 1px;
                    margin: 0 $--padding-extra-small;
                    background-color: $--border-color-base;
                }

                .search {
                    margin-left: $--padding-base;
                }
            }
        }

        .image-list {
            padding: 0 $--padding-medium;

            .foxui-row {
                height: 404px;
                overflow: auto;
            }

            .column-5 {
                width: 20%;
                flex: 0 0 auto;
            }

            .image {
                width: 100%;
                height: 0;
                padding-bottom: 100%;
                overflow: hidden;
                border: $--border-base;
                position: relative;
                cursor: pointer;

                &::after {
                    content: '\e85a';
                    font-family: 'foxuifont';
                    font-size: $--font-size-extra-large * 1.6;
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                    color: $--color-primary-light-2;
                    z-index: 1;
                    opacity: 0;
                    transition: 0.3s;
                }

                &::before {
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    background-color: rgba(0, 0, 0, 0.7);
                    z-index: 1;
                    opacity: 0;
                    transition: 0.3s;
                }

                &.is-active {
                    &::after {
                        opacity: 1;
                    }

                    &::before {
                        opacity: 1;
                    }
                }

                img {
                    position: absolute;
                    max-width: 100%;
                    max-height: 100%;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                }

                i {
                    position: absolute;
                    z-index: 1;
                    font-size: 24px;
                    top: -2px;
                    right: -2px;
                    color: #909090;
                    display: none;

                    &::after {
                        content: '';
                        display: inline-block;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        width: 18px;
                        height: 18px;
                        background-color: #fff;
                        border-radius: 100%;
                        z-index: -1;
                    }
                }

                .size {
                    position: absolute;
                    z-index: 1;
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    padding: $--padding-small 0;
                    color: #fff;
                    text-align: center;
                    font-size: $--font-size-extra-small;
                    background-color: rgba(0, 0, 0, 0.5);
                    display: none;
                }
            }

            .text {
                @include ellipsis-row();
                height: 34px;
                margin-top: $--padding-small;
            }
        }

        .image-footer {
            margin-top: $--padding-base;
        }
    }
}

.foxui-images-manager__extract-image {
    .images-content {
        height: 524px;
        border-bottom: $--border-base;
        padding: $--padding-base;

        .extract-input {
            width: 80%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);

            p {
                padding-left: 80px;
                color: $--color-text-secondary;
            }
        }
    }
}

// 修正样式
.foxui-dialog {
    &.images-manager {
        .foxui-dialog__title {
            span {
                font-size: $--font-size-base;
                color: $--color-text-secondary;
                margin-left: $--padding-medium;
            }
        }

        .foxui-dialog__body {
            padding: 0 0 10px 0;
        }

        .foxui-tabs-content {
            padding: 0;
        }
    }
}
